Skip to content

fix: use a placeholder project ID in each Slack CLI config - #328

Merged
zimeg merged 2 commits into
mainfrom
fix-placeholder-project-id
Dec 3, 2026
Merged

zimeg merged 2 commits into
mainfrom
fix-placeholder-project-id

Conversation

@zimeg

@zimeg zimeg commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

This pull request swaps the real project IDs committed in each .slack/config.json for the placeholder project_id that bolt-python-examples uses.

  • slack create writes a fresh project_id into every new project, so created projects never use the committed IDs, and nothing in this repo reads them.
  • slack-samples/bolt-python-personal-agent#24 makes the same change.

Testing

  • Run slack create my-agent -t slack-samples/bolt-python-starter-agent --subdir pydantic-ai -b fix-placeholder-project-id and confirm .slack/config.json has a new project_id instead of the zeros.
  • Repeat with --subdir claude-agent-sdk or openai-agents-sdk.

🤖 Generated with Claude Code

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg
zimeg requested a review from a team as a code owner December 3, 2026 21:34
@zimeg zimeg added the bug Something isn't working label Dec 3, 2026
@zimeg zimeg self-assigned this Dec 3, 2026

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Appreciate this one @zimeg, matching the examples placeholder keeps each sample from carrying an ID that slack create replaces anyway.

Comment thread pydantic-ai/.slack/config.json Resolved

@cchensh cchensh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. The three committed project_ids are swapped for the bolt-python-examples placeholder, which slack create replaces, and nothing in the repo reads them. CI is green on all four subprojects.

Nit: vercel-ai-sdk/ has .slack/hooks.json and .slack/.gitignore but no .slack/config.json, so it's the one subproject without the placeholder. slack create writes one either way, so this is only consistency.

Co-authored-by: Cheng Chen <35309699+cchensh@users.noreply.github.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg

zimeg commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

🧹 Thanks @cchensh! The trailing newlines are in 9a0c27c, so these configs now match the bolt-python-examples placeholder and bolt-python-personal-agent#24 byte for byte. vercel-ai-sdk already leaves .slack/config.json out, which is one of the options in #329, so I noted it there instead of adding the placeholder here.

@zimeg

zimeg commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

🌟 Thanks for the kind reviews @mwbrooks and @cchensh!

@zimeg
zimeg merged commit 4e333d7 into main Dec 3, 2026
10 checks passed
@zimeg
zimeg deleted the fix-placeholder-project-id branch December 3, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants